﻿using System.ComponentModel.Composition;
using MediaAssistant.Constants;
using MediaAssistant.DAL;
using MediaAssistant.Management;

namespace MediaAssistant.MusicDJ
{
    [Export(typeof(IMusicDJ))]
    public class SmartShuffleDJ : AMusicDJ
    {
        public SmartShuffleDJ()
            : base(MusicDJName.SmartDJ)
        {
        }

        [Import]
        private SmartDJProbabilityCalculationService ProbabilityService { get; set; }

        #region Overrides of AMusicDJ

        protected override void CalculateProbability(Music playingMusic)
        {
            ProbabilityService.StartCalculation(playingMusic, this);
        }

        #endregion
    }
}
